﻿using System.ComponentModel;

namespace Jok.Client.Infrastructure
{
    /// <summary>
    /// Abstract base class for a ViewModel implementation.
    /// </summary>
    public class ViewModel<TSource> : INotifyPropertyChanged
        where TSource : INotifyPropertyChanged
    {
        //public PropertyChangeManager<TSource> PropertyManager { get; set; }

        //#region INotifyPropertyChanged Members
        //public event PropertyChangedEventHandler PropertyChanged
        //{
        //    add { this.PropertyManager.AddHandler(value); }
        //    remove { this.PropertyManager.RemoveHandler(value); }
        //}
        //#endregion
        public event PropertyChangedEventHandler PropertyChanged;
    }
}
